Leadtools.Services.Raster.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PolygonRasterRegionData Constructor(Generic List,Boolean)
See Also 
Leadtools.Services.Raster.DataContracts Namespace > PolygonRasterRegionData Class > PolygonRasterRegionData Constructor : PolygonRasterRegionData Constructor(Generic List,Boolean)



points
A list of LeadPoint objects. The points in the list must be in the order in which the vertices of the polygon are connected. To create the line that closes the polygon, the last point in the collection is connected to the first point of the collection.
windingFillMode

Indicates how to handle complex crossing lines.

Value Meaning
true All pixels that are inside the resulting exterior lines are in the region.
false The region includes the area between odd-numbered and even-numbered polygon sides on each scan line.

Initializes a new instance of the PolygonRasterRegionData class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal points As List(Of LeadPoint), _
   ByVal windingFillMode As Boolean _
)
Visual Basic (Usage)Copy Code
Dim points As List(Of LeadPoint)
Dim windingFillMode As Boolean
 
Dim instance As PolygonRasterRegionData(points, windingFillMode)
C# 
public PolygonRasterRegionData( 
   List<LeadPoint> points,
   bool windingFillMode
)
C++/CLI 
public:
PolygonRasterRegionData( 
   List<LeadPoint>^ points,
   bool windingFillMode
)

Parameters

points
A list of LeadPoint objects. The points in the list must be in the order in which the vertices of the polygon are connected. To create the line that closes the polygon, the last point in the collection is connected to the first point of the collection.
windingFillMode

Indicates how to handle complex crossing lines.

Value Meaning
true All pixels that are inside the resulting exterior lines are in the region.
false The region includes the area between odd-numbered and even-numbered polygon sides on each scan line.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features